//
//  PickNumBasketBallItemCell.m
//  PlayBall
//
//  Created by Sun Fanglei on 13-4-9.
//
//

#import "JddPickNumBasketBallItemCell.h"

@implementation JddPickNumBasketBallItemCell
GET_INSTANCE_VIEW_IMPLEMENT(JddPickNumBasketBallItemCell)

@synthesize delegate;
@synthesize firstTeamLabel;
@synthesize secondTeamLabel;
@synthesize firstTeamButton;
@synthesize secondTeamButton;
@synthesize firstTeamNumber;
@synthesize secondTeamNumber;
@synthesize nolabel;
@synthesize endTimeLabel;
@synthesize matchNameLabel;
@synthesize endtime;
@synthesize MID;
@synthesize fistTeamBtnName;
@synthesize secondTeamBtnName;
@synthesize rfLabel;

/*
 主负按钮   2
 */
- (IBAction)firstTeamBtnClick:(id)sender {
    [self.delegate performSelector:@selector(basketBallTeamButtonClicked:number:) withObject:(id)sender withObject:firstTeamNumber];
}
/*
 主胜按钮   1
 */
- (IBAction)secondTeamBtnClick:(id)sender {
    [self.delegate performSelector:@selector(basketBallTeamButtonClicked:number:) withObject:(id)sender withObject:secondTeamNumber];
}
- (void)awakeFromNib
{
    self.firstTeamButton.layer.borderColor = BORDER_COLOR;
    self.firstTeamButton.layer.borderWidth = 0.5;
    
    self.secondTeamButton.layer.borderColor = BORDER_COLOR;
    self.secondTeamButton.layer.borderWidth = 0.5;
    
    self.rfLabel.layer.borderColor = BORDER_COLOR;
    self.rfLabel.layer.borderWidth = 0.5;
}

@end
